/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "就餐预约(通用)",TableName = "canteen_yd_dxs")]
    public partial class canteen_yd_dxs:BaseEntity
    {
        /// <summary>
       ///食堂预定_大学生
       /// </summary>
       [Key]
       [Display(Name ="食堂预定_大学生")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid canteen_yd_dxs_id { get; set; }

       /// <summary>
       ///所属部门
       /// </summary>
       [Display(Name ="所属部门")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string department { get; set; }

       /// <summary>
       ///姓名
       /// </summary>
       [Display(Name ="姓名")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string xname { get; set; }

       /// <summary>
       ///IP地址
       /// </summary>
       [Display(Name ="IP地址")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string ipaddress { get; set; }

       /// <summary>
       ///填报时间
       /// </summary>
       [Display(Name ="填报时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///预约就餐日期
       /// </summary>
       [Display(Name ="预约就餐日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? yd_date { get; set; }

       /// <summary>
       ///周6早餐
       /// </summary>
       [Display(Name ="周6早餐")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? zao6_c { get; set; }

       /// <summary>
       ///周6午餐
       /// </summary>
       [Display(Name ="周6午餐")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? wu6_c { get; set; }

       /// <summary>
       ///周6晚餐
       /// </summary>
       [Display(Name ="周6晚餐")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? wan6_c { get; set; }

       /// <summary>
       ///周日早餐
       /// </summary>
       [Display(Name ="周日早餐")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? zao7_c { get; set; }

       /// <summary>
       ///周日午餐
       /// </summary>
       [Display(Name ="周日午餐")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? wu7_c { get; set; }

       /// <summary>
       ///周日晚餐
       /// </summary>
       [Display(Name ="周日晚餐")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? wan7_c { get; set; }

       
    }
}